﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Stu
    {



        public string sname { get; set; }

        public Stu(string Sname)
        {
            this.sname = Sname;
        }



        public void teacherinfo()
        {

            Console.WriteLine("大家好！我是{0}，俺老师是{1}", this.sname, Program.tname);

        }

    }
}
